import user from './users'
import admin from './admin'
import article from './article'
import upload from './upload'
import page from './page'
import main from './main'
import archives from './archives'

module.exports = app => {

    app.use('/user', user);
    app.use('/admin', admin);
    app.use('/article', article);
    app.use('/upload', upload);
    app.use('/page', page);
    app.use('/archives',archives);
    app.use('/', main);
    
}
